package com.caird.pmp.iot;


import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.ApplicationContext;
import org.springframework.scheduling.annotation.EnableScheduling;


@Slf4j
@SpringBootApplication
@EnableScheduling
@EnableCaching
@EnableFeignClients
public class Application {

    public static void main(String[] args) {
        ApplicationContext ctx = SpringApplication.run(Application.class, args);
//        String[] beanNames = ctx.getBeanDefinitionNames();
//        log.info("bean总数:{}", ctx.getBeanDefinitionCount());
//        int i = 0;
//        for (String str : beanNames) {
//            log.info("{},beanName:{}", ++i, str);
//        }
    }
}
